//
//  SDataBaseManager.h
//  News
//
//  Created by dlios on 15-5-20.
//  Copyright (c) 2015年 PEAK. All rights reserved.
//

#import "SBaseObject.h"
#import "SReadshoucang.h"

#import <sqlite3.h>
@interface SDataBaseManager : SBaseObject

{
    sqlite3 *dbPoint;
}
+ (SDataBaseManager *)shareInstance;

//打开数据库
- (void)openDB;

//创建表
- (void)createTable;
//添加对象
- (void)insertInfoWithSReadshoucang:(SReadshoucang *)shoucang;
//删除
- (void)deleteInfoWithTitle:(NSString *)title;
//查询操作
- (NSMutableArray *)selectInfo;
//删除表
- (void)dropTable;



@end
